package com.haierp.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.haierp.service.IPackageScaleService;
import com.wangzhixuan.commons.base.BaseController;

@Controller
public class FreightController extends BaseController{
	
	@Autowired
	private IPackageScaleService iPackageScaleService;
	
	@RequestMapping("/freight/getPackageScaleList")
	@ResponseBody
	public Object getPackageScaleList() {
		return iPackageScaleService.queryPackageScaleTree().buildIsSuccess(true);
	}
}
